package com.spdzen.service;

import java.util.List;

import com.spdzen.model.VideoCategory;
import com.spdzen.support.SimpleService;
import com.spdzen.support.result.ResultCode;
import com.spdzen.vo.VideoCategoryAdminVO;

/**
 * 服务类
 */
public interface VideoCategoryService extends SimpleService<VideoCategory> {

	void insertIfPermission(VideoCategory record) throws Exception;

	ResultCode deleteIfPermision(Long id);

	void updateIfPermission(VideoCategory record) throws Exception;

	VideoCategoryAdminVO selectOneAdminVO(Long id);

	List<VideoCategoryAdminVO> selectAdminVO();
	
}
